package com.sanxiau.dormitory.yang.service;

import com.sanxiau.dormitory.yang.entity.Attendance;
import com.sanxiau.dormitory.yang.entity.Dorm;
import com.sanxiau.dormitory.yang.entity.LoginIn;
import com.sanxiau.dormitory.yang.vo.ResultInfo;
import org.springframework.ui.Model;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface AttendanceService {
    public ResultInfo faceshow(String base64);
    public ResultInfo addAttendance(String base64, Model model, HttpSession session);
    public List<Attendance> allAttendance();
    public LoginIn queryUserByUser_name(HttpSession session);
    public List<Dorm> queryAllHous();
    public List<String> queryAllDors(String hou);
    public ResultInfo setCause(String hou_id,String dor_id,String text,HttpSession session);
}
